package pe.gob.inei.fx.lib.component
{
	import mx.controls.List;
	
	import pe.gob.inei.fx.lib.component.renderer.ListCheckItemRenderer;
	
	public class ListCheck extends List {
		
		[Bindable]
		private var renderer:ListCheckItemRenderer;
		
		public function ListCheck(propiedadSeleccion:String, labelField:String, campo:String) {
			renderer = new ListCheckItemRenderer(propiedadSeleccion, labelField, campo);
			itemRenderer = renderer;
			percentWidth = 100;
			percentHeight = 100;
			setStyle("alternatingItemColors", ['#EEEEEE', 'white']);
		}
	}
}